<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="./js/jquery-2.1.1.min.js"></script>
	</head>
	<body>
		<button onclick="testCors()">跨域测试</button>
	</body>

	<script>
		function testCors() {
			$.getJSON('http://localhost:6066/cons/user/info?username=lisi', function(result) {
				console.log(result);
			})
		}
	</script>
</html>
